package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.service.fallback.CerReportProgressServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "zjcode-chronic-disease-cancer-server", fallback = CerReportProgressServiceFallback.class)
public interface CerReportProgressService {

    @PostMapping("/cdcerserver/v1/reportProgress/listPageData")
    JsonObj listPageData(PageData pageData);

    @PostMapping("/cdcerserver/v1/reportProgress/exportData")
    JsonObj queryAll(PageData pageData);
}
